//
//  ViewController.swift
//  02-表情测试
//
//  Created by 唐万超 on 15/8/9.
//  Copyright © 2015年 唐万超. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    @IBOutlet weak var textView: UITextView!
    override func viewDidLoad() {
        super.viewDidLoad()
        
        textView.inputView = emoticonVC.view
        //textView.inputView = EmoticonViewController().view
        
        print(EmoticonPackage.packages())
    }

    // 懒加载视图控制器
    private lazy var emoticonVC: EmoticonViewController = EmoticonViewController()

}

